package com.zzyl.mapper;


import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProject;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CustomerOrdersMapper {

    /**
     * 分页查询护理项目列表
     * @param name
     * @param status
     * @return
     */
    Page<List<NursingProject>> selectByPage(String name, Integer status);


    /**
     * 根据id查询
     * @param id
     * @return
     */
    NursingProject getById(Long id);
}
